import {get, post, put, removeREST} from "@/utils/request"

export function getSelect(){
    return get("user/all")
}

export function getPageList(query){
    return get('user/pageList',query)
}

export function insert(data){
    return post('user',data)
}

export function update(data){
    return put('user',data)
}

export function deleteUser(id){
    return removeREST('user/',id)
}